package com.wangp.springbootsource.startup;

import com.wangp.springbootsource.util.ColorPrintUtil;
import org.springframework.boot.CommandLineRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

/**
 * <pre>
 * classname FirstCommandLineRunner
 * description
 * </pre>
 *
 * @author wangp
 * @date 2020/9/22 20:54
 **/
@Component
@Order(2)
public class SecondCommandLineRunner implements CommandLineRunner {

    @Override
    public void run(String... args) throws Exception {
        ColorPrintUtil.yellowPrint(">>> start up second commandLine <<<");
    }
}
